using System;
using System.Collections.Generic;
using System.Text;

namespace NetSpider.Retrieval.Policies
{
    public abstract class RetrievalPolicy
    {
        public abstract RetrievalPolicy[] GetPolicyItems();

        public abstract string[] GetSupportedUriSchemas();

        public virtual RetrievalDecision OnBeforeRetrieval(string uri) //TODO change this to System.Uri
        {
            return RetrievalDecision.ContinueFetching;
        }

        public virtual RetrievalDecision OnRetrievalProgress(long bytes)
        {
            return RetrievalDecision.ContinueFetching;
        }
    }
}
